import React from 'react';

import CommonSendFetchAction from '../common/CommonSendFetchAction';
import Constants from '../../common/Constants';

//某个人的私聊记录
export default class UserRequestNoticeListAction extends CommonSendFetchAction {
    constructor() {
      super();

      this.moduleType = Constants.MODULE_TYPE.USER;
      this.name = "UserRequestNoticeListAction";
    }

    _dealFinishSucess(data, response) {
      this.caller.requestFinish(data, data != null && data.length != 0);
    }

    _dealFinishFailed(data, response) {
      this.caller.requestFinish(data, false);
    }
}
